package com.ke.jun.bg.testpetpackmvvm.app.weight.banner

import android.view.View
import android.widget.TextView
import com.ke.jun.bg.testpetpackmvvm.R
import com.zhpan.bannerview.BaseViewHolder

class WelcomBannerViewHolder(view:View) :BaseViewHolder<String>(view){
    override fun bindData(data: String?, position: Int, pageSize: Int) {
        val textView = findView<TextView>(R.id.banner_text)
        textView.text = data
    }
}